package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ClinicDept;
import com.zshan.clinic.database.model.ClinicDeptExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ClinicDeptMapper extends SuperMapper {
    long countByExample(ClinicDeptExample example);

    int deleteByExample(ClinicDeptExample example);

    int deleteByPrimaryKey(Long deptId);

    int insert(ClinicDept row);

    int insertSelective(ClinicDept row);

    List<ClinicDept> selectByExample(ClinicDeptExample example);

    ClinicDept selectByPrimaryKey(Long deptId);

    int updateByExampleSelective(@Param("row") ClinicDept row, @Param("example") ClinicDeptExample example);

    int updateByExample(@Param("row") ClinicDept row, @Param("example") ClinicDeptExample example);

    int updateByPrimaryKeySelective(ClinicDept row);

    int updateByPrimaryKey(ClinicDept row);
}